package com.wang.cloud.common.mysql.annotations;

import com.wang.cloud.common.mysql.aspects.MyDynamicDataSourceAspect;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 启用-动态数据源
 *
 * @author wang ye
 * @date 2024/7/5
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({MyDynamicDataSourceAspect.class})
public @interface EnableDynamicDB {
}
